package com.geekstudy.week2;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class Week2SpringBootMain {

    final static Logger logger = LoggerFactory.getLogger(Week2SpringBootMain.class);

    public static void main(String[] args) {
        ConfigurableApplicationContext configurableApplicationContext = SpringApplication.run(Week2SpringBootMain.class);

        logger.info("beanCount:{} ", configurableApplicationContext.getBeanDefinitionCount());
    }
}
